Skip to content

ci: mainnet join of the three packages from a p2p snapshot - #182

Merged
EnzinoBB merged 3 commits into
masterfrom
ci/mainnet-join-p2p
Nov 10, 2026
Merged

EnzinoBB merged 3 commits into
masterfrom
ci/mainnet-join-p2p

Conversation

@EnzinoBB

Copy link
Copy Markdown
Collaborator

Adds .github/workflows/mainnet-join.yml (from the branch ci/mainnet-join). The Linux, Windows and macOS packages each start on mainnet with an empty database, fetch their snapshot over p2p from one named source ([snapshot] sources=, min_sources=1, fetch_fallback=wait), import and verify it, sync to the head, follow the chain for 20 minutes, and must log the same state digests and block hashes. platform-sync.yml restores the published snapshot with --download-snapshot; this covers the p2p fetch path on all three systems.

Re-checked against master: the config keys, the SNAPSHOT: log lines, snapshot.sources.json / snapshot.verified, check_node.py wait-head arguments, config.pruned.ini and the package names all match. One change from the branch: it took a fixed release (community.14); it now takes the latest published release, or a tag input of a manual run. Run by pushing a mainnet-join-* tag, or manually. The source node (SOURCE_KEY / SOURCE_ADDR in the file) must be serving snapshots; I have not run the workflow.

🤖 Generated with Claude Code

EnzinoBB and others added 3 commits November 10, 2026 06:38
Linux, Windows and macOS packages each start on mainnet with an empty database and fetch their
snapshot over p2p from one named source (min_sources=1, fetch_fallback=wait), import and verify it,
sync to the head, follow the chain and must log the same state digests. Unlike platform-sync, which
restores the published snapshot with --download-snapshot, this covers the p2p fetch on every system.
From ci/mainnet-join, taking the latest published release instead of a fixed one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EnzinoBB
EnzinoBB merged commit 176b099 into master Nov 10, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant